import Vue from 'vue'
import App from './App.vue'
import '@/mobile/flexible.js'
import '@/styles/reset.css'
import { recommendMusicAPI } from '@/api/index'
// 导入路由,可以省略index.js
import router from "@/router"
import { Tabbar, TabbarItem,NavBar ,Col,Row, Image as VanImage,Cell,Icon,Search,List} from 'vant';

Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(NavBar);
Vue.use(Col);
Vue.use(Row);
Vue.use(VanImage);
Vue.use(Cell);
Vue.use(Icon);
Vue.use(Search);
Vue.use(List);
Vue.config.productionTip = false
async function myFn(){
  const res = await recommendMusicAPI({limit: 6});
  console.log(res);
}
myFn();

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
